package com.xiaoshuidi.cloud.module.member.convert.mobilemodifyrecord;

import com.xiaoshuidi.cloud.module.member.controller.admin.mobilemodifyrecord.vo.MemberMobileModifyRecordExportVO;
import com.xiaoshuidi.cloud.module.member.controller.admin.mobilemodifyrecord.vo.MemberMobileModifyRecordPageRespVO;
import com.xiaoshuidi.cloud.module.member.api.mobilemodifyrecord.vo.MobileModifyRecordCreateReqVO;
import com.xiaoshuidi.cloud.module.member.pojo.mobilemodifyrecord.MemberMobileModifyRecord;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MobileModifyRecordConvert {
    MobileModifyRecordConvert INSTANCE = Mappers.getMapper(MobileModifyRecordConvert.class);

    MemberMobileModifyRecord convert(MobileModifyRecordCreateReqVO mobileModifyRecordCreateReqVO);

    List<MemberMobileModifyRecordPageRespVO> convertList(List<MemberMobileModifyRecord> records);

    List<MemberMobileModifyRecordExportVO> convertList2(List<MemberMobileModifyRecordPageRespVO> respVOS);
}
